curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/compute/instances/{id}/reinstall \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ssh_key_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"enable_password_auth": false,
"software_packages": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parameters": {}
}
]
}
'Reinstall the operating system on a compute instance. This operation will erase all data on the primary disk and install a fresh OS from the specified image. The instance must be stopped before reinstallation. This action is irreversible.
curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/compute/instances/{id}/reinstall \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ssh_key_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"enable_password_auth": false,
"software_packages": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parameters": {}
}
]
}
'Documentation Index
Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
Use this file to discover all available pages before exploring further.
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
A UUID string identifying this Instance.
Unique identifier of the organization that owns the resource.
Unique identifier of the project containing the resource.
Instance reinstallation initiated successfully